<?php

namespace Viettrans\FrontBundle\Form\NoPersist;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class LoginUser extends AbstractType {
    public function buildForm(FormBuilder $builder, array $options) {
        $builder->add('email', 'email', array(
            'label'      => 'Email',
            'max_length' => '100',
        ));
        
        $builder->add('password', 'password', array(
            'label'      => 'Mật khẩu',
            'max_length' => '20',
        ));
    }
	
    public function getName() {
        return 'form_user_login';
    }
}
